<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>书籍详情页</title>
</head>
<body>
<h2>书籍详情页</h2>
<hr>
<p>书名：{{ book.title }}</p>
<p>作者：<a href="{% url 'author:author_detail' book.author.id %}">{{ book.author }}</a></p>
<p>出版日期：{{ book.publish_date }}</p>
<p>出版社：
    {% for publisher in  book.publishers.all  %}
        <a href="{% url 'publisher:publisher_detail' publisher.id %}">{{ publisher.name }}</a>
        {% if not forloop.last %}
        	|
        {% endif %}
    {% endfor %}
</p>
</body>
</html>